home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / T U R B O Language / Turbo C v2.0 / BUILD-C0.BAT < prev    next >
DOS Batch File  |  1988-08-29  |  663b  |  32 lines

  1. echo off
  2. if x%1 == xTINY    goto ok
  3. if x%1 == xSMALL   goto ok
  4. if x%1 == xCOMPACT goto ok
  5. if x%1 == xMEDIUM  goto ok
  6. if x%1 == xLARGE   goto ok
  7. if x%1 == xHUGE    goto ok
  8. echo BUILD-C0 must have argument: TINY, SMALL, COMPACT, MEDIUM, LARGE or HUGE
  9. goto done
  10. :ok
  11. echo on
  12. goto make-%1
  13. :make-TINY
  14. TASM C0,C0T     /D__TINY__    /MX;
  15. goto done
  16. :make-SMALL
  17. TASM C0,C0S     /D__SMALL__   /MX;
  18. goto done
  19. :make-COMPACT
  20. TASM C0,C0C     /D__COMPACT__ /MX;
  21. goto done
  22. :make-MEDIUM
  23. TASM C0,C0M     /D__MEDIUM__  /MX;
  24. goto done
  25. :make-LARGE
  26. TASM C0,C0L     /D__LARGE__   /MX;
  27. goto done
  28. :make-HUGE
  29. TASM C0,C0H     /D__HUGE__    /MX;
  30. echo on
  31. :done
  32.